package com.eorchis.module;

import java.util.Random;
/**
 * Title: TrainingConstants<br>
 * Description: 培训电子档案全局常量类<br>
 * Company: GOLDGOV<br>
 * Copyright @ 2013 ORCHIS .All rights reserved.<br>
 * @author ZhaoQT
 * @createDate 2013-12-15
 * @version $Revision:$
 */
public class TrainingConstants extends Constants{

	/** webService安全开关 open;close */
	public static String WSBSERVICE_SECURITY = "SysPara_WebServiceSecurity";
	/** webService安全开关 打开 */
	public static String WSBSERVICE_SECURITY_OPEN = "OPEN";
	/**
	 * servletContext中存储的random随机类的key值
	 */
	public static final String RANDOM_KEY = "appRandom";

	/**
	 * 全局随机函数Random
	 */
	public static final Random RANDOM_CONSTANTS = new Random();

	/**
	 * 缓存过期时间在system表中的key值
	 */
	public static final String CACHE_OUT_TIME = "CACHE_OUT_TIME";
	
	/**
	 * 系统名称 zqt 2013.12.15
	 */
	public static final String SYS_NAME = "FS_TRAINING";
	
	/**
	 * uum系统地址
	 */
	public static final String UUM_APPLICATION_URL = "SysPara_UumApplicationUrl";
	
	/**
	 * 发布状态：已发布
	 */
	public final static Integer IS_PUBLISH_Y = new Integer(1);
	/**
	 * 发布状态：未发布
	 */
	public final static Integer IS_PUBLISH_N = new Integer(2);
	
	/**
	 * 活动状态：启用
	 */
	public final static Integer IS_ACTIVE_Y = new Integer(1);
	/**
	 * 活动状态：作废
	 */
	public final static Integer IS_ACTIVE_N = new Integer(2);
	
	/**
	 * 状态操作方式：发布到未发布
	 */
	public final static String IS_PUBLISH_Y_TO_N = "publishStateToN";
	
	/**
	 * 状态操作方式：未发布到发布
	 */
	public final static String IS_PUBLISH_N_TO_Y = "publishStateToY";
	
	/**
	 * 状态操作方式：启用到作废
	 */
	public final static String IS_ACTIVE_Y_TO_N = "activeStateToN";
	
	/**
	 * 状态操作方式：作废到启用
	 */
	public final static String IS_ACTIVE_N_TO_Y = "activeStateToY";
	
	/**
	 * 状态操作方式：上报
	 */
	public final static String IS_REPORT = "report";
	
	
	/**
	 * 上报状态操作方式：上报
	 */
	public final static String IS_REPORT_Y = "reportStateToY";
	/**
	 * 上报状态操作方式：撤销上报
	 */
	public final static String IS_REPORT_N = "reportStateToN";
	/**
	 * 指定报名机构
	 */
	public final static String ZDBMJG = "zdbmjg";
	/**
	 * 不指定报名机构
	 */
	public final static String BZDBMJG = "bzdbmjg";
	
	/**
	 * 审核人员
	 */
	public final static String SHRY = "shry";
	/**
	 * 审核学时
	 */
	public final static String SHXS = "shxs";
	/**
	 * 班级审核操作方式：班级审核
	 */
	public final static String IS_AUDIT_CLASS = "AUDITCLASS";
	
	
	/**
	 * 班级审核状态操作方式:审核通过
	 */
	public final static String IS_AUDIT_CLASS_Y = "auditClassStateToY";
	/**
	 * 班级审核状态操作方式:审核未通过
	 */
	public final static String IS_AUDIT_CLASS_N = "auditClassStateToN";
	
	/**
	 * 区级项目报名标识
	 */
	public final static String QJXMBM = "qjxmbm";
	
	/*
	 * 添加bjcetm的webservice地址 by Max at 2014-04-10
	 */
	public final static String BJCETM_WEBSERVICE_URL ="Bjcetm_Webservice_URL";
	
	/*
	 * 添加房山community的webservice地址 by Max at 2014-04-10
	 */
	public final static String FSCOMMUNITY_WEBSERVICE_URL ="Fscommunity_Webservice_URL";
	
	/*
	 * 添加干教elms的webservice地址 by Max at 2014-04-10
	 */
	public final static String GJELMS_WEBSERVICE_URL ="Gjelms_Webservice_URL";
	
	/*
	 * 添加虚拟网院的webservice地址 by HuangTF at 2014-07-25
	 */
	public final static String DEMO_VIRTUALNA_WEBSERVICE_URL ="Demo_VirtualNA_Webservice_URL";
	/**
	 * 组织报名 add by NingSS at 2014-09-04
	 */
	public final static String ZJBMMS = "zzbmms";
	/**
	 * 自主报名 add by NingSS at 2014-09-04
	 */
	public final static String ZZBMMS = "zizbmms";
	/**
	 * 点名调训
	 */
	public final static String DMTXMS = "dmtxms";
	/**
	 * 需要审核
	 */
	public final static Integer IS_AUDITING_Y = new Integer(1);
	/**
	 * 不需要审核
	 */
	public final static Integer IS_AUDITING_N = new Integer(2);
	/**
	 * 职级编码 add by NingSS at 2014-09-05
	 */
	public final static String LEVEL_CODE = "DUTY_LEVEL";
	/**
	 * 培训班类别 :区级班
	 */
	public final static String CLASS_CATEGORY_QJB="qjb";
	/**
	 * 培训班类别 :市级班
	 */
	public final static String CLASS_CATEGORY_SJB="sjb";
	/**
	 * 组织机构树的id
	 */
	public final static String ROOT = "-1";
	/**
	 * 组织机构树的id
	 */
	public final static String ROOT_NAME = "组织机构树";
	/**
	 * webService用户名
	 */
	public final static String WEBSERBICE_USERNAME="SysPara_WebService_UserName";
	/**
	 * webService密码
	 */
	public final static String WEBSERBICE_USERPASSWORD="SysPara_WebService_UserPassword";
}
